package com.example.image.fessco

import com.facebook.drawee.backends.pipeline.Fresco
import com.facebook.drawee.view.SimpleDraweeView

/**
 * 提供一个SimpleDraweeView,直接添加布局中
 * 无需封装,只需要在Application中Fresco.initialize(this)初始化
 */
object FrescoImgLoader {
    fun loadUrlImage(url:String,dv:SimpleDraweeView){
        dv.setImageURI(url)
    }
}